'''
计算1--100加和  5050
'''

sum=0;
# for(int i = 0;i<10;i++)
for  index in range(0, 10):
    sum += index;
    print("index"+str(index))
print("sum : "+ str(sum))


#遍历元组
ages = (22,21,18,19)
#列表
ages = [25,21,18,19]
for  age in ages:
    print("age"+str(age))

info ="大家好";
info ="abc";
for  letter in info:
    print("letter  "+str(letter))